FROM docker.wdb007.com:9382/maven:3.3.9


RUN mkdir -p /wars/build-wdb-security

ADD ./ /wars/build-wdb-security


RUN cd /wars/build-wdb-security && \

    mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
EXPOSE 9002 9001 8080

#ENTRYPOINT ["/bin/bash"]
CMD ["/bin/bash"]
#ENTRYPOINT ["java","-jar","/wars/build-wdb-security/wdb-security-web/target/wdb-security-web-3.0.0.jar","--spring.config.location=/opt/application.properties","&"]